::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
    height: 10px
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1);
    border-radius: 0
}
::-webkit-scrollbar-thumb {
    cursor: pointer;
    border-radius: 5px;
    background: rgba(0, 0, 0, .25);
    transition: color .2s ease
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 0, 0, .15)
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 135, 139, .8)
}
::-webkit-scrollbar-track {
    display: none;
}
::-webkit-scrollbar-button {
    display: none;
}
::-webkit-scrollbar-track-piece {
    display: none;
}
::-webkit-scrollbar-corner {
    display: none;
}
::-webkit-scrollbar-thumb:window-inactive {
    background: transparent;
}
::-webkit-scrollbar-corner {
    display: none;
}
::-webkit-resizer {
    display: none;
}

html {
    background: #ECF5F7;
    padding: 10px;
    height: calc(100% - 20px);
    color: #333333;
    font-size: 14px;
}
body {
    height: 100%;
    min-width: 1200px;
    margin:0px;
}
.layui-body {
    left: 210px;
}
.chat_area {
    display: flex;
    justify-content: left;
    clear: both;
    overflow: hidden;
    height: 100%;
}
/*左侧全部待办*/
.anchor_list {
    display: block;
    width: 180px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #FFF;
    padding: 20px 0px 20px 20px;
}
.anchor_list .total_title {
    display: block;
    clear: both;
    overflow: hidden;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}
.anchor_list .total_title span {
    border-radius: 10px;
    background-color: #EC6353;
    padding: 2px 5px;
    font-size: 12px;
    color: #FFF;
    margin-left: 5px;
}
.anchor_list .anchor_chat_list {
    display: block;
    clear: both;
    overflow-y: auto;
    max-height: calc(100% - 40px);
    padding-right: 20px;
}
.anchor_list ul {
    display: block;
    clear: both;
    overflow: hidden;
}
.anchor_list ul li {
    display: block;
    clear: both;
    overflow: hidden;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    color: #999999;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #DBDBDB;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 0px 5px;
    text-align: center;
    cursor: pointer;
}
.anchor_list ul li.active, .anchor_list ul li:hover {
    border: 1px solid #54BBBC;
    color: #54BBBC;
}
.chat-tab{
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* overflow-y: scroll; */
    width: calc(100% - 140px);
    margin-bottom: 12px;
}
.chat-tab .chat-tab-btn{
    min-width: 50px;
    padding: 0 10px;
    height: 25px;
    border: 1px solid #666;
    border-radius: 25px;
    text-align: center;
    line-height: 25px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    margin-bottom: 5px;
}
.chat-tab .chat-tab-btn-active{
    background-color: #009688;
    color: #fff;
    border: none;
}
.chat-tab .chat-tab-btn-note{
    display: block;
    font-size: 12px;
    padding: 2px;
    min-width: 12px;
    height: 12px;
    text-align: center;
    line-height: 12px;
    background-color: red;
    border-radius: 12px;
    color: #fff;
    position: absolute;
    top: -5px;
    right: -5px;
  }
/*右侧部分*/
.chat_right {
    display: block;
    clear: both;
    overflow: hidden;
    width: calc(100% - 210px);
    height: 100%;
    margin-left: 15px;
}
/*主播基本信息*/
.chat_right .anchor_info {
    display: block;
    clear: both;
    overflow: hidden;
    background-color: #FFF;
    border-radius: 20px;
    padding: 15px;
    font-size: 15px;
    margin-bottom: 10px;
}
.chat_right .anchor_info p {
    display: block;
    overflow: hidden;
    float: left;
    height: 20px;
    line-height: 20px;
    margin-right: 25px;
}
.chat_right .anchor_info p:last-child {
    width: 300px;
}
.chat_right .anchor_info span {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    background-color: #54BBBC;
    border-radius: 4px;
    font-size: 12px;
    color: #FFF;
    padding: 0px 4px;
    overflow: hidden;
}
.chat_right .anchor_info em {
    display: inline-block;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
    margin-left: 5px;
    font-style: normal;
}
/*会话列表区域*/
.chat_session {
    display: flex;
    justify-content: left;
    overflow: hidden;
    height: calc(100% - 60px);
}
.chat_session .session_area {
    display: block;
    clear: both;
    overflow: hidden;
    width: 200px;
    padding: 10px 0px;
    background-color: #FFF;
    border-radius: 20px;
}
.chat_session .session_title {
    display: flex;
    justify-content: space-between;
    clear: both;
    overflow: hidden;
    padding: 0px 10px;
}
.chat_session .session_title p {
    display: block;
    overflow: hidden;
    width: 140px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    text-align: center;
    border-radius: 10px;
    color: #666666;
    background-color: #F4F4F4;
    cursor: pointer;
}
.chat_session .session_title p:hover {
    color: #02A8A2;
}
.chat_session .session_title p.active {
    background-color: #02A8A2;
    color: #FFF;
}
/*正在私聊列表*/
.session_area .chat_list {
    display: block;
    clear: both;
    overflow-y: auto;
    height: calc(100% - 60px);
    margin-top: 20px;
    padding: 0px 10px;
}
.session_area .chat_list dt {
    display: block;
    clear: both;
    overflow: hidden;
    height: 23px;
    line-height: 23px;
    background-color: #EEF8F8;
    font-size: 12px;
    padding-left: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.session_area .chat_list dd {
    display: flex;
    justify-content: left;
    align-items: center;
    overflow: hidden;
    height: 38px;
    cursor: pointer;
    /*margin-bottom: 10px;*/
    padding: 10px 0px;
    border-radius: 10px;
    position: relative;
}
.session_area .chat_list dd:hover {
    background-color: #d5f1f0;
}
.session_area .device_icon {
    width: 40px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    margin-left: 3px;
}
.session_area .device_icon img{
    width: 100%;
}
.session_area .icon_ios {
    background: url('/modules/admin/images/icon_ios.png') center center no-repeat;
    background-size: 35px;
}
.session_area .icon_android {
    background: url('/modules/admin/images/icon_android.png') center center no-repeat;
    background-size: 35px;
}
.session_area .icon_web {
    background: url('/modules/admin/images/icon_web.png') center center no-repeat;
    background-size: 35px;
}
.session_area .user_chat_desc {
    display: block;
    width: calc(100% - 50px);
    margin-left: 3px;
}
.session_area .user_chat_desc {
    width: calc(100% - 50px);
    margin-left: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.session_area .user_chat_desc .chat-msg-wrap{
    display: flex;
    height: 21px;
    justify-content: space-between;
    align-items: center;
}
.session_area .user_chat_desc .last_reply_msg {
    margin-top: 4px;
}
.session_area .user_chat_desc p:first-child {
    display: flex;
    justify-content: space-between;
}
.session_area .user_chat_desc p:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.session_area .user_chat_desc span.last_reply_time {
    color: #999999;
}
.session_area .user_chat_desc span.nick_name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.session_area .user_chat_desc p.last_reply_msg {
    color: #666666;
    font-size: 12px;
}
.session_area .chat_list dd.active {
    background-color: #02A8A2;
    color: #FFF;
}
.session_area .chat_list dd.active .last_reply_msg,
.session_area .chat_list dd.active .last_reply_time {
    color: #FFF;
}
/*右侧用户及聊天窗口信息*/
.chat_session .chat_user {
    display: block;
    margin-left: 10px;
    background-color: #FFF;
    border-radius: 20px;
    width: calc(100% - 340px);
}
.chat_session .chat_user .layui-form-item {
    margin-bottom: 0px;
}
.chat_user .user_info {
    display: block;
    clear: both;
    padding: 10px 30px;
    box-shadow: inset 0px -0.5px 0px rgba(0, 0, 0, 0.1);
}
.chat_user .user_info .em_tic {
    font-style: normal;
    font-size: 10px;
    border: 1px solid #02A8A2;
    color: #02A8A2;
    border-radius: 3px;
    padding: 0px 2px;
    margin-right: 3px;
}
.chat_user .user_info .userip_area{
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat_content {
    display: block;
    clear: both;
    height: calc(100% - 230px);
    background-color: #F9F9FB;
    overflow: hidden;
    padding: 20px 0px;
}
/*聊天内容*/
.chat_cont_list {
    display: block;
    clear: both;
    overflow-y: auto;
    height: 100%;
    padding: 0px 30px;
}
.chat_cont_list dl {
    display: block;
    clear: both;
    overflow: hidden;
    height: auto;
    width: auto;
    max-width: 800px;
    margin-bottom: 10px;
}
.chat_cont_list dl:last-child {
    margin-bottom: 0px;
}
.chat_cont_list dl dt {
    display: block;
    clear: both;
    overflow: hidden;
    font-weight: 600;
    color: #333333;
}
.chat_cont_list dl dt span {
    font-size: 12px;
    color: #999999;
    font-weight: 400;
    padding-left: 10px;
}
.chat_cont_list dl dd {
    display: block;
    clear: both;
    overflow: hidden;
    float: left;
    height: auto;
    line-height: 25px;
    padding: 7px 10px;
    background-color: #FFF;
    border-radius: 6px;
    margin-top: 5px;
}
.chat_cont_list dl.anchor_send {
    float: right;
    width: auto;
}
.chat_cont_list dl.anchor_send dt {
    text-align: right;
}
.chat_cont_list dl.anchor_send dt span {
    font-size: 12px;
    color: #999999;
    font-weight: 400;
    padding-right: 10px;
}
.chat_cont_list dl.anchor_send dd {
    float: right;
    word-break: break-all;
    background-color: rgba(2, 168, 162, 0.7);
    color: #FFF;
}
.page_loading {
    display: block;
    clear: both;
    overflow: hidden;
    text-align: center;
    color: #999999;
}
.page_loading span {
    padding-left: 5px;
}
.not_history_msg, .more_msg_load_error {
    display: block;
    clear: both;
    overflow: hidden;
    margin-bottom: 15px;
    text-align: center;
    color: #999999;
}
.more_msg_loading, .talk_load_error {
    display: block;
    clear: both;
    overflow: hidden;
    margin-bottom: 15px;
    text-align: center;
    color: #999999;
}
/*发送聊天操作区域*/
.chat_cont_sendarea {
    display: block;
    clear: both;
    overflow: hidden;
    height: 130px;
    padding: 0px 30px;
    position: relative;
}
.chat_cont_sendarea textarea {
    border: none;
    background-color: #FFF;
    min-height: 90px;
}
.chat_cont_sendarea .send_btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    /* background-color: #02A8A2; */
    /* border-radius: 6px; */
}
.layui-form-item .layui-inline {
    margin-bottom: 0px;
    margin-right: 10px;
}
.layui-form .layui-input-inline {
    width: 150px;
}
/*暂无待办信息*/
.not_wait_chat {
    display: block;
    clear: both;
    overflow: hidden;
    text-align: center;
    margin-top: 30px;
    color: #999999;
}
.chat_not_list {
    display: block;
    clear: both;
    overflow: hidden;
    line-height: 100px;
    text-align: center;
    color: #999999;
}
.layadmin-pagetabs .layui-tab-title li:first-child {
    padding-right: 40px;
}
.layadmin-pagetabs .layui-tab-title li:first-child .layui-tab-close {
    display: block;
}
.layui-layout-admin .layui-layout-left, .layadmin-pagetabs, .layui-layout-admin .layui-body, .layui-layout-admin .layui-footer {
    left: 0px;
}
